package com.ly.work.singleThread;

/**
 * Created by wyh on 3/4/2017.
 */
public class MyThread extends Thread {
    private int anInt;
    public MyThread(int i){
        this.anInt=i;
    }
    @Override
    public void run() {
        Singleeton.getInstance(anInt);
    }
    public static void main(String[] args){
       for(int i = 0;i<3;i++){
        new MyThread(i).start();
       }
    }
}
